package cn.ycl.auth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author yuanchangliang
 * @date 2022-06-28 11:02
 **/
@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients(basePackages = {"cn.ycl"})
@MapperScan("cn.ycl.auth.biz.*.dao")
@ComponentScan(basePackages = "cn.ycl")
public class AuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuthApplication.class,args);
        System.out.println("\n\n\n ★★★★ 袁昌亮 Auth模块 启动成功 ★★★★\n\n\n");
    }
}
